<style scoped lang="sass">
</style>
<template>
    <div class="comm_content_top">
        <ol class="brank_nav">
            <li>
                <router-link tag="span" class="cursor" :to="{name:'index'}">首页</router-link>
            </li>
            <slot name="nav_two"></slot>
            <slot name="nav_other"></slot>
            <li>{{$route.meta.title}}</li>
        </ol>
        <div>name:{{name}}</div>
        <input v-model="names" @keyup.enter="$emit('update:name', names)"></input>
    </div>
</template>
<script>
    export default{
        props:{
            name:{
                type:null,
                default:'ronald'
            }
        },
        data(){
            return{
                names:''
            }
        }
    }
</script>